<%@page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>带参数的forward动作标记2</title>
</head>
<body bgcolor="#00ffff">
<%
    // 获取forword页面传入的账号信息
    String name = request.getParameter("username");
    //  获取forword页面传入的密码信息
    String pw = request.getParameter("password");
    // 网页上用java显示内容
    out.println("您的用户名是："+name+"<br/>");
    out.println("你的密码是："+pw);
%>
</body>
</html>